* lisp/eshell/esh-cmd.el (eshell--local-vars): New variable.
authorGlenn Morris <rgm@gnu.org>
Sun, 15 Sep 2013 00:10:45 +0000 (17:10 -0700)
committerGlenn Morris <rgm@gnu.org>
Sun, 15 Sep 2013 00:10:45 +0000 (17:10 -0700)
commitfb8c5d711177a5eb386a236581fe631994d1cba3
tree247b5a9b0ea5ff37df87e47b81bf6ccc8e43528e
parent85132cb22049e6a25c6f557b8d3c482e1d892a09
* lisp/eshell/esh-cmd.el (eshell--local-vars): New variable.
(eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.

* lisp/eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.

* test/automated/eshell.el (eshell-test/for-name-shadow-loop):
New test.
(eshell-test/for-loop, eshell-test/for-name-loop): Doc fix.
lisp/ChangeLog
lisp/eshell/esh-cmd.el
lisp/eshell/esh-var.el
test/ChangeLog
test/automated/eshell.el